package com.zyf.school.manager.service;

import com.zyf.school.manager.domain.Dict;

import java.util.List;

public interface DictService {
    //分页查询：通过父类ID来查询
    public List<Dict> queryByParentid(int parentid,int startIndex,int pageSize);

    //插入数据并返回刚刚插入的数据列表
    public Dict insertDict(Dict dict);

    //通过类型来查询
    public List<Dict> queryByType(String type,int startIndex,int pageSize);

    //通过类型来查询
    public List<Dict> queryAll(int startIndex,int pageSize);
}
